<template>
	<view>
			<u-cell-group>
				<u-cell-item @click="go(1)" title="平均月经周期"></u-cell-item>
				<u-cell-item @click="go(2)" title="添加历史记录"></u-cell-item>
			</u-cell-group>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			go(item){
				if(item==1){
					return uni.navigateTo({
						url:'/pages/edit/edit?days='+this.vuex_avg
					})
				}
				this.$u.route({
					url: '/pages/lishi/lishi',
					params: {
						item: 1
					}
				});
			},
		}
	}
</script>

<style>

</style>
